package com.weijx.dishes.mapper;

import com.weijx.dishes.entity.OrderDetail;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * com.weijx.dishes.mapper.OrderDetailMapper
 * 描述：
 * on 2025/10/24-下午3:39
 *
 * @author weijx
 */
@Mapper
public interface OrderDetailMapper {

    // 批量插入订单详情
    int batchInsertOrderDetails(List<OrderDetail> orderDetails);

    // 根据订单ID查询订单详情
    List<OrderDetail> selectByOrderId(String orderId);
}
